/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.vo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * c端账户表
 *
 * @author proj code generator
 * @date 2021-08-12 14:10:39
 */
@Data
public class FxPersonAccountVo extends Model<FxPersonAccountVo> {
private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="")
    private Long id;
    /**
     * 0分销用户
     */
    @ApiModelProperty(value="0分销用户")
    private Integer type;
    /**
     * 登录id
     */
    @ApiModelProperty(value="登录id")
    private Long personId;
    /**
     * 账号
     */
    @ApiModelProperty(value="账号")
    private String account;
    /**
     * 可用余额
     */
    @ApiModelProperty(value="可用余额")
    private BigDecimal balance;
    /**
     * 累计收益
     */
    @ApiModelProperty(value="累计收益")
    private BigDecimal balanceTotal;
    /**
     * 冻结金额
     */
    @ApiModelProperty(value="冻结金额")
    private BigDecimal balanceFrozen;
    /**
     * 累计提现金额
     */
    @ApiModelProperty(value="累计提现金额")
    private BigDecimal withdrawal;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
    @ApiModelProperty(value="0可用1删除")
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;

    //

	@ApiModelProperty(value="用户名")
	private String personName;

	@ApiModelProperty(value="手机号")
	private String personPhone;

	@ApiModelProperty(value="团队人数")
	private Integer teamCount = 0;

	@ApiModelProperty("推广优惠券(优惠券领取个数)")
	private Integer couponCount = 0;

	@ApiModelProperty("返佣订单统计")
	private Integer orderCount = 0;
	@ApiModelProperty("分享统计")
	private Integer shareCount = 0;
	@ApiModelProperty("提现成功时间")
	private  LocalDateTime SuccessTime;

}
